package com.bx.bet;

/**
 * Created by IntelliJ IDEA.
 * com.bx.user.User: nutej
 * Date: Jan 16, 2008
 * Time: 10:04:35 AM
 * To change this template use File | Settings | File Templates.
 */
public class Bet {
    private Long id = null;
    private Long eventId = null;
    private Long backerId = null;
    private Long layerId = null;

    private double odds;
    private double stake;

    public enum BetType {                    //or Utils.Enums.BetType 
    UNMATCHED, MATCHED 
}
    private BetType betType;               //ENUM


    public Long getEventId() {
        return eventId;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public Long getBackerId() {
        return backerId;
    }

    public void setBackerId(Long backerId) {
        this.backerId = backerId;
    }

    public Long getLayerId() {
        return layerId;
    }

    public void setLayerId(Long layerId) {
        this.layerId = layerId;
    }

    public double getOdds() {
        return odds;
    }

    public void setOdds(double odds) {
        this.odds = odds;
    }

    public double getStake() {
        return stake;
    }

    public void setStake(double stake) {
        this.stake = stake;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BetType getBetType() {
        return betType;
    }

    public void setBetType(BetType betType) {
        this.betType = betType;
    }
}